package com.totoro.service;

import com.totoro.pojo.Admin;
import com.totoro.pojo.Seller;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author TOTORO
 * @date 2021/7/8 1:29
 */
public interface AdminService {

    Integer addAdmin(Admin admin);

    Admin findAdminByPasswordAndPhone(String account, String phone);

    Integer updateUserApplySeller(int uid, int status);

    Integer updateUserIsSeller(int uid);

    Integer addSeller(Seller seller);

    Integer addShop(String shopName, int slid);

}
